package com.chinasofti.framework.dataaccess;

import java.util.ArrayList;
import com.chinasofti.framework.data.Entity;

public interface IDataAccess<T extends Entity> extends IReadDataAccess<T> {

	public boolean save(T entity) throws Exception;

	public boolean save(ArrayList<T> entities) throws Exception;

	public boolean delete(Object key) throws Exception;
	
	public boolean execute(ArrayList<Parameter> params);

}
